﻿using AutoMapper;
using ETA.Dtos;
using ETA.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ETA.DtoMappings
{
    public class DtoMapConfig
    {
        public static void InitMap()
        {
            Mapper.CreateMap<UserDto, User>();
            Mapper.CreateMap<User, UserDto>();
            Mapper.CreateMap<WorkType, WorkTypeDto>(); 
        }
    }
}
